package com.recharge.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 上游供应商渠道API
 * </p>
 *
 * @author reagan
 * @since 2020-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_provider_api")
public class ProviderApiEntity implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 渠道商ID
     */
    private String providerId;

    /**
     * 渠道商号
     */
    @TableField(exist = false)
    private String providerNo;

    /**
     * 版本号
     */
    private String version;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 签名
     */
    private String privateKey;

    /**
     * 请求地址
     */
    private String requestUrl;


    /**
     * 订单地址
     */
    private String orderFindUrl;


    /**
     * 余额查询地址
     */
    private String balanceFindUrl;


    /**
     * 回掉 
     */
    private String callback;

    /**
     * 接口号
     */
    private Integer interfaceNum;

    /**
     * 是否是同步
     */
    private Integer isSync;

    private Date createDate;

    private Date modifiDate;

    private String creator;

    private String modifier;

    /**
     * -1 删除 1 有效\n            
     */
    private Integer isDelete;


}
